﻿<Application
    x:Class="BindableApplicationBar.TestApp.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:vm="clr-namespace:BindableApplicationBar.TestApp.ViewModels"
    xmlns:converters="clr-namespace:BindableApplicationBar.TestApp.Converters">

    <!--Application Resources-->
    <Application.Resources>
        <vm:ViewModelLocator
            x:Key="ViewModelLocator" />
        <converters:DoubleToColorConverter
            x:Key="DoubleToColorConverter" />
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService
            Launching="ApplicationLaunching"
            Closing="ApplicationClosing"
            Activated="ApplicationActivated"
            Deactivated="ApplicationDeactivated" />
    </Application.ApplicationLifetimeObjects>

</Application>